home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1995-02-08 | 61.6 KB | 2,257 lines
// Next available MSG number is 392 // MODULE_ID RENDCOMM_DCL_ // Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software // for any purpose and without fee is hereby granted, provided // that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty and // restricted rights notice below appear in all supporting // documentation. // // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE // UNINTERRUPTED OR ERROR FREE. // // Use, duplication, or disclosure by the U.S. Government is subject to // restrictions set forth in FAR 52.227-19 (Commercial Computer // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) // (Rights in Technical Data and Computer Software), as applicable. // //. //**************************************************************************** // // Common Render Dialogue Control Language (DCL) -- Version 1.0 // //**************************************************************************** //*************************************************************************** // Support dialog box code var_text : text_part { label = ""; } //*************************************************************************** // Information dialog box pref_info : dialog { label = "Informaci≤n Render"; : text_part { alignment = centered; label = "Render de AutoCAD"; } : var_text { alignment = centered; key = /*MSG0*/"prodname"; } : var_text { alignment = centered; key = /*MSG0*/"cyears"; } : text_part { alignment = centered; label = "por Autodesk, Inc. Reservados todos los derechos."; } : var_text { alignment = centered; key = /*MSG0*/"release"; } spacer_1; : text_part { alignment = left; label = "Configuraci≤n actual:"; } : concatenation { : text_part {label = "Modelizado: "; } : var_text { key = /*MSG0*/"rendering"; width = 60; } } : concatenation { : text_part { label = " "; } : var_text { key = /*MSG0*/"rendname"; width = 60; } } : concatenation { : text_part { label = "Salida impresa: "; } : var_text { key = /*MSG0*/"hardcopy"; width = 60; } } : concatenation { : text_part { label = /*MSG0*/" "; } : var_text { key = /*MSG0*/"hardname"; width = 60; } } : list_box { key = /*MSG0*/"extras"; height = 5; width = 60; multiple_select = false; allow_accept = false; } spacer_1_ok_only; } //**************************************************************************** // For showing real numbers. text_part_12 : text_part { width = 12; } //**************************************************************************** // Standard size list_box list_box_8x8 : list_box { height = 8; // (10x10) width includes scrollbar. } //**************************************************************************** // For File name, where max filename = 100. edit_box_100 : edit_box { edit_width = 14; edit_limit = 100; } //**************************************************************************** // For Directory paths , where max pathname = 256. edit_box_256 : edit_box { edit_width = 14; edit_limit = 256; } //**************************************************************************** // For File names and the like. edit_box_14 : edit_box { edit_width = 14; edit_limit = 14; } //**************************************************************************** // For names that are <= 8 characters long. edit_box_8 : edit_box { // edit_width = 8; edit_width = 15; // used since Windows has variable width fonts and // proteus uses the wrong width edit_limit = 8; } //**************************************************************************** // For names that are <= 16 characters long. edit_box_16 : edit_box { edit_width = 16; edit_limit = 16; } //**************************************************************************** // For real numbers 0.00->1.00. edit_box_4 : edit_box { edit_width = 4; edit_limit = 4; } //**************************************************************************** // For real numbers 0.000->1.000 (or nE-mm) edit_box_6 : edit_box { edit_width = 6; edit_limit = 6; } //**************************************************************************** // For real numbers 0.00->1.00. slider_0_1 : slider { min_value = 0; max_value = 100; small_increment = 1; big_increment = 10; is_tab_stop = false; // We have edit_boxes for all } //**************************************************************************** // Fixed slider for real numbers 0.00->1.00. slider_0_1_fixed : slider { min_value = 0; max_value = 100; width = 16; fixed_width = true; alignment = centered; small_increment = 1; big_increment = 10; is_tab_stop = false; // We have edit_boxes for all } //**************************************************************************** // Spacer tiles spacer_0_1: spacer { height = 0.1; } spacer_0_25: spacer { height = 0.25; } spacer_0_5: spacer { height = 0.5; } spacer_1_25 : spacer { height = 1.25; } spacer_1_5 : spacer { height = 1.5; } //**************************************************************************** // Dialogs with Cancel as the default. cancel_ok_48 : dialog { width = 48; key = /*MSG0*/"dialog"; initial_focus = /*MSG0*/"cancel"; // Doesn't work allways children_alignment = centered; spacer_1; : var_text { key = /*MSG0*/"line1"; } : var_text { key = /*MSG0*/"line2"; } cancel_ok; // Makes "Cancel" the default. } cancel_ok_32 : dialog { width = 32 ; key = /*MSG0*/"dialog"; initial_focus = /*MSG0*/"cancel"; // Doesn't work allways children_alignment = centered; spacer_1; : var_text { key = /*MSG0*/"line1"; } : var_text { key = /*MSG0*/"line2"; } cancel_ok; // Makes "Cancel" the default. } cancel_ok : column { // Makes "Cancel" the default. spacer_1; : row { fixed_width = true; alignment = centered; : ok_button { is_default = false; } : spacer { width = 2; } : cancel_button { is_default = true; } } } //**************************************************************************** // Generic botton-line button combinations spacer_0_1_ok_cancel_help_errtile : column { spacer_0_1; ok_cancel_help_errtile; } spacer_1_ok_cancel_help_errtile : column { spacer_1; ok_cancel_help_errtile; } spacer_1_ok_cancel_help : column { spacer_1; ok_cancel_help; } spacer_1_ok_help : column { spacer_1; : row { fixed_width = true; alignment = centered; : ok_button { is_cancel = true; } : spacer { width = 2; } help_button; } } spacer_1_ok_only : column { spacer_1; ok_only; } //**************************************************************************** // Define common widgets button_new : button { key = /*MSG0*/"new"; label = "Nuevo... "; mnemonic = "N"; } button_mod : button { key = /*MSG0*/"modify"; label = "Modificar..."; mnemonic = "M"; is_enabled = false; // Enable when Items are selected. } button_dup : button { key = /*MSG0*/"duplicate"; label = "Duplicar..."; mnemonic = "p"; is_enabled = false; // Enable when Items are selected. } button_del : button { key = /*MSG0*/"delete"; label = "Borrar "; mnemonic = "B"; is_enabled = false; // Enable when Items are selected. } button_imp : button { key = /*MSG0*/"import"; label = "Biblioteca de materiales..."; mnemonic = "i"; } button_exp : button { key = /*MSG0*/"export"; label = "Exportar "; mnemonic = "x"; } button_pkt : button { key = /*MSG0*/"pickit"; label = "Designar < "; mnemonic = "D"; } /******************************************************************************/ /*********************** GENERIC COLORSYSTEM SLIDER SET ***********************/ /******************************************************************************/ color_system_set : row { key = /*MSG0*/"color_system_set"; : column { : text { key = /*MSG0*/"Red_txt"; label = "Tonalidad:"; } : text { key = /*MSG0*/"Green_txt"; label = "Luminosidad:"; } : text { key = /*MSG0*/"Blue_txt"; label = "Saturaci≤n:"; } } : column { : edit_box_4 { key = /*MSG0*/"red_edit"; } : edit_box_4 { key = /*MSG0*/"green_edit"; } : edit_box_4 { key = /*MSG0*/"blue_edit"; } } : column { : slider_0_1_fixed { key = /*MSG0*/"red_slider"; } : slider_0_1_fixed { key = /*MSG0*/"green_slider"; } : slider_0_1_fixed { key = /*MSG0*/"blue_slider"; } } } //**************************************************************************** // Black Cat dialog boxes //**************************************************************************** //3DS input object_list : list_box { label = "Nombre objeto: Tipo:"; tabs = /*MSG0*/"18"; height = 7; width = 28; multiple_select = true; } //**************************************************************************** // //**************************************************************************** // this is a clone of ok_cancel_help, without a default button okNoDef_cancel_help : column { : row { fixed_width = true; alignment = centered; : ok_button { is_default = false; } : spacer { width = 2; } cancel_button; : spacer { width = 2; } help_button; } } //**************************************************************************** // //**************************************************************************** // bc3dsin : dialog { label = "Opciones para importar archivos 3D Studio"; : column { : row { : column { : boxed_column { label = "Objetos disponibles"; : object_list { key = /*MSG0*/"available"; } : row { children_fixed_width = true; spacer_1; : button { key = /*MSG0*/"selall"; label = "A±adir todo"; mnemonic = "A"; is_default = true; } : button { key = /*MSG0*/"select"; label = "A±adir"; mnemonic = "±"; } spacer_1; } } spacer_1; : boxed_radio_column { label = "Guardar en capas:"; : radio_button { key = /*MSG0*/"byobject"; label = "Por objeto"; mnemonic = "o"; } : radio_button { key = /*MSG0*/"bymaterial"; label = "Por material"; mnemonic = "m"; } : radio_button { key = /*MSG0*/"bycolor"; label = "Por color de objeto"; mnemonic = "P"; } : radio_button { key = /*MSG0*/"onelayer"; label = "Capa ·nica"; mnemonic = "C"; } } } spacer_1; : column { : boxed_column { label = "Designar objetos"; : object_list { key = /*MSG0*/"selected"; } : row { children_fixed_width = true; spacer_1; : button { key = /*MSG0*/"remove"; label = "Suprimir"; mnemonic = "S"; } : button { key = /*MSG0*/"rmvall"; label = "Suprimir todo"; mnemonic = "t"; } spacer_1; } } spacer_1; : boxed_radio_column { label = "Objetos de m·ltiples materiales:"; : radio_button { key = /*MSG0*/"prompt"; label = "Mensaje permanente"; mnemonic = "e"; } : radio_button { key = /*MSG0*/"break"; label = "Dividir por materiales"; mnemonic = "D"; } : radio_button { key = /*MSG0*/"first"; label = "Asignar primer material"; mnemonic = "i"; } : radio_button { key = /*MSG0*/"none"; label = "No asignar ning·n material"; mnemonic = "N"; } } } } spacer_1; okNoDef_cancel_help; } } //**************************************************************************** // //**************************************************************************** bcmatls : dialog { label = "Advertencia para la asignaci≤n de materiales"; : text { key = /*MSG0*/"objname"; width = 50; /* "Object1234567890 has multiple materials assigned" */ } : boxed_column { label = ""; children_alignment = centered; children_fixed_width = true; : radio_column { : radio_button { key = /*MSG0*/"breakapart"; label = "Dividir objeto por material"; mnemonic = "D"; } : radio_button { key = /*MSG0*/"applyfirst"; label = "Asignar primer material"; mnemonic = "A"; } : radio_button { key = /*MSG0*/"applyone"; label = "Designar un material:"; mnemonic = "s"; } } : row { : popup_list { key = /*MSG0*/"materials"; value = "0"; edit_width = 25; } } } spacer_1; ok_cancel_help; } //**************************************************************************** // //**************************************************************************** // this is a clone of ok_cancel_help rename_cancel_replace : column { : row { fixed_width = true; alignment = centered; : retirement_button { label = " Cambiar de nombre "; key = /*MSG0*/"rename"; is_default = true; } : spacer { width = 2; } cancel_button; : spacer { width = 2; } : retirement_button { label = " Reemplazar "; key = /*MSG0*/"replace"; mnemonic = "R"; } } } //**************************************************************************** // //**************************************************************************** bcrenmat : dialog { label = "Mordred Message"; : text { key = /*MSG0*/"prompt"; width = 40; } : text { label = "Do you want to replace it?"; } spacer_1; rename_cancel_replace; } //**************************************************************************** // 3DS Output //**************************************************************************** outOptions : dialog { label = "Opciones para exportar archivos 3D Studio"; :boxed_radio_column { label = "Proviene de objetos 3D Studio"; key = /*MSG0*/"method"; :radio_button { label = "Capa"; key = /*MSG0*/"methLay"; mnemonic = "C"; } :radio_button { label = "Indice de colores de AutoCAD (ACI)"; key = /*MSG0*/"methCol"; mnemonic = "I"; } :radio_button { label = "Tipo de objeto AutoCAD"; key = /*MSG0*/"methType"; mnemonic = "T"; } } :boxed_row { label = "Bloques de AutoCAD"; :toggle { label = "Ignorar (Cada bloque es un objeto)"; key = /*MSG0*/"mode"; mnemonic = "g"; } } :boxed_row { height = 2; label = "Suavidad"; :toggle { label = "Suavizado automßtico"; key = /*MSG0*/"sEn"; mnemonic = "S"; } :edit_box { label = /*MSG0*/" "; key = /*MSG0*/"smooth"; edit_width = 3; edit_limit = 3; allow_accept = true; } :text { label = "Grados"; key = /*MSG0*/"sText"; } } :boxed_row { height = 2; label = "Soldadura"; :toggle { label = "Soldado automßtico"; key = /*MSG0*/"wEn"; mnemonic = "a"; } spacer_1; :edit_box { key = /*MSG0*/"weld"; label = "U&mbral"; edit_width = 8; edit_limit = 8; allow_accept = true; } :text { label = " "; } } spacer_1; errtile; ok_cancel_help; } //**************************************************************************** // VL conversion //**************************************************************************** presOptions : dialog { label = "Conversi≤n de datos de Visual Link"; initial_focus = /*MSG0*/"overwt"; :toggle { key = /*MSG0*/"overwt"; mnemonic = ""; label = "Reescribir materiales AutoVision y asignaciones de mapeados"; } spacer_1; ok_cancel_help; } //**************************************************************************** // //**************************************************************************** warning : dialog { label = "Error en la conversi≤n de Visual Link"; :text { label = "Algunas asignaciones de materiales"; } :text { label = "Visual Link no se convirtieron debido a que"; } :text { label = "no pudieron ser representadas en AutoVision."; } spacer_1; ok_only; } //**************************************************************************** // RHEXPORT support //**************************************************************************** rhexport : dialog { label = "Configuraci≤n de salida de archivo"; : row { : column { : boxed_column { label = "Tipo de archivo"; : popup_list { key = /*MSG0*/"f_types"; // CHANGING THE ORDER OF THE LIST OR WHAT IS ON IT // REQUIRES A CHANGE IN dlg_rhex.c !!!!! list = "GIF\nX11\nPBM\nBMP\nTGA\nPCX\nSUN\nFITS\nPostScript\nTIFF\nFAX G III\nIFF"; value = "4"; } : popup_list { key = /*MSG0*/"resol"; // CHANGING THE ORDER OF THE LIST OR WHAT IS ON IT // REQUIRES A CHANGE IN dlg_rhex.c !!!!! // Just changing the strings is OK. width = 30; list = "320 x 200 (CGA/MCGA color)\n640 x 200 (CGA monocroma)\n640 x 350 (EGA)\n640 x 400\n640 x 480 (VGA)\n720 x 540\n800 x 600\n1024 x 768\n1152 x 900 (Sun normal.)\n1600 x 1280 (Sun alta res.)\n2048 x 1366\n2048 x 1536\n4096 x 2736\n4096 x 3072\nDef. por usuario"; value = "4"; } : row { : edit_box { label = "X:"; key = /*MSG0*/"RES_X"; value = /*MSG0*/"640"; mnemonic = "X"; edit_limit = 5; } : edit_box { label = "Y:"; key = /*MSG0*/"RES_Y"; value = /*MSG0*/"480"; mnemonic = "Y"; edit_limit = 5; } } : edit_box { label = "Rel. anchura/altura:"; key = /*MSG0*/"ASPECT"; value = /*MSG0*/"1.0"; mnemonic = "R"; edit_limit = 5; } } : boxed_radio_column { label = "Colores"; key = /*MSG0*/"colortype"; : radio_button { key = /*MSG0*/"b_1"; label = "Monocromo"; mnemonic = "M"; } : radio_button { key = /*MSG0*/"b_8"; label = "8 Bits (256 tonos de gris)"; mnemonic = "t"; } : radio_button { key = /*MSG0*/"b_8c"; label = "8 Bits (256 colores)"; mnemonic = "c"; } : radio_button { key = /*MSG0*/"b_16"; label = "16 Bits"; mnemonic = "B"; } : radio_button { key = /*MSG0*/"b_24"; label = "24 Bits"; mnemonic = "B"; value = "1"; } : radio_button { key = /*MSG0*/"b_32"; label = "32 Bits"; mnemonic = "B"; } } } : boxed_column { label = "Opciones"; : row { : column { : toggle { key = /*MSG0*/"compress"; label = "Comprimido"; value = /*MSG0*/"1"; mnemonic = "C"; } : toggle { key = /*MSG0*/"up_down"; label = "Al revΘs"; mnemonic = "A"; } : toggle { key = /*MSG0*/"bit_rev"; label = "Bit invertido"; mnemonic = "i"; } } : boxed_radio_column { label = "Entrelazar"; key = /*MSG0*/"inter_a"; : radio_button { key = /*MSG0*/"inter_1"; label = "Ninguno"; mnemonic = "N"; } : radio_button { key = /*MSG0*/"inter_2"; label = "2 a 1"; mnemonic = "2"; } : radio_button { key = /*MSG0*/"inter_4"; label = "4 a 1"; mnemonic = "4"; } } } : row { : boxed_column { label = "Opciones PostScript"; key = /*MSG0*/"post_opts"; : radio_row { key = /*MSG0*/"ps_port_land"; : radio_button { key = /*MSG0*/"ps_land"; label = "Horizontal"; mnemonic = "H"; } : radio_button { key = /*MSG0*/"ps_port"; label = "Vertical"; mnemonic = "V"; } } : column { : radio_column { key = /*MSG0*/"ps_imgsize"; : radio_button { key = /*MSG0*/"ps_auto"; label = "Automßtico"; mnemonic = "A"; } : radio_button { key = /*MSG0*/"ps_img"; label = "Tama±o de la imagen"; mnemonic = "T"; } : radio_button { key = /*MSG0*/"ps_cust"; label = "Personalizada"; mnemonic = "P"; } } : edit_box { label = "Tama±o imagen"; key = /*MSG0*/"img_size"; value = /*MSG0*/"640"; mnemonic = "i"; edit_limit = 5; } } } : boxed_column { label = "Opciones PBM"; key = /*MSG0*/"pbm_options"; : radio_column { key = /*MSG0*/"pbm_opt"; : radio_button { key = /*MSG0*/"pbm"; label = "PBM"; mnemonic = "P"; } : radio_button { key = /*MSG0*/"pgm"; label = "PGM"; mnemonic = "G"; } : radio_button { key = /*MSG0*/"ppm"; label = "PPM"; mnemonic = "M"; } } spacer_1; : radio_column { key = /*MSG0*/"ascii_bin"; : radio_button { key = /*MSG0*/"ascii"; label = "ASCII"; mnemonic = "A"; } : radio_button { key = /*MSG0*/"bin"; label = "Binario"; mnemonic = "B"; } } } } } } ok_cancel_help_errtile; } //*************************************************************************** //*************************************************************************** //*************************************************************************** //*************************************************************************** // AutoCAD render options other_options : column { : toggle { key = /*MSG0*/"discard_bf"; label = "Descartar caras traseras"; mnemonic = "D"; } : toggle { key = /*MSG0*/"neg_normal"; label = "Normal a cara trasera negativa"; mnemonic = "N"; } } boxed_other_options : boxed_column { label = "Controles de la cara"; other_options; } crender_options : dialog { label = "Opciones de Render de AutoCAD"; : row { : boxed_radio_column { label = "Calidad Render"; key = /*MSG0*/"pf_crend_qual"; : radio_button { key = /*MSG0*/"pf_crend_qual_10"; label = "Gouraud"; mnemonic = "G"; } : radio_button { key = /*MSG0*/"pf_crend_qual_20"; label = "Phong"; mnemonic = "P"; } } spacer_1; : column { boxed_other_options; } } spacer_1_ok_cancel_help_errtile; } //****************************************************************************** //****************************************************************************** // Render and Preferences widgets render_colormap : boxed_column { alignment = top; label = "Paleta de pantalla"; : popup_list { key = /*MSG0*/"pf_ac"; list = "Mapeado extendido\nMapeado simple\nMapeado ACAD fijo"; mnemonic = "P"; } } render_colormap2 : boxed_column { label = "Paleta de pantalla"; : popup_list { key = /*MSG0*/"pf_ac"; list = "Mapeado extendido\nMapeado simple\nMapeado ACAD fijo"; mnemonic = "P"; } } render_scene_list : list_box { width = 18; height = 5; key = /*MSG0*/"pf_scene"; label = "Escena a modelizar"; mnemonic = "E"; } //**************************************************************************** // Color selection dialog box ave_color : dialog { label = "Color"; spacer_1; : row { spacer_1; description; spacer_1; : image_button { key = /*MSG0*/"color_wheel"; height = 16; aspect_ratio = 1; color = -15; /* dialog box background color = -15*/ is_tab_stop = false; } : slider_0_1 { key = /*MSG0*/"lightness_slider"; layout = vertical; } spacer_1; } spacer_1_ok_cancel_help_errtile; } ave_color_1 : dialog { label = "Color"; spacer_1; : row { color_system; } spacer_1; components; spacer_1; aci; spacer_1_ok_cancel_help_errtile; } description : column { : row { color_system; } spacer_1; components; spacer_1; aci; spacer_1; : column { children_alignment = centered; : text_part { label = "Color designado"; } : boxed_row { fixed_width = true; : image { key = /*MSG0*/"patch"; height = 2; aspect_ratio = 2; fixed_width = true; color = -15; /* background color */ } } } } aci : button { key = /*MSG0*/"select_aci"; label = "Designar desde ACI..."; mnemonic = "D"; fixed_width = true; alignment = centered; } components : row { : column { : color_name { key = /*MSG0*/"top_name"; } : color_name { key = /*MSG0*/"middle_name"; } : color_name { key = /*MSG0*/"bottom_name"; } } : column { : edit_box_4 { key = /*MSG0*/"top_edit"; } : edit_box_4 { key = /*MSG0*/"middle_edit"; } : edit_box_4 { key = /*MSG0*/"bottom_edit"; } } : column { : slider_0_1_fixed { key = /*MSG0*/"top_slider"; } : slider_0_1_fixed { key = /*MSG0*/"middle_slider"; } : slider_0_1_fixed { key = /*MSG0*/"bottom_slider"; } } : column { : color_image { key = /*MSG0*/"top_image"; } : color_image { key = /*MSG0*/"middle_image"; } : color_image { key = /*MSG0*/"bottom_image"; } } } color_name : text_part { width = 11; label = ""; } color_image : image { height = 1; aspect_ratio = 1; fixed_height = true; fixed_width = true; color = -15; /* -15 = dialog background color */ } //**************************************************************************** // Replay replay : dialog { label = "Especificaciones de imßgenes"; width = 22; alignment = centered; spacer_1; : column { : row { : column { fixed_width = true; width = 20; : text_part { alignment = centered; key = /*MSG0*/"imgsz"; width = 16; } : image_button { // Virtual image window alignment = centered; key = /*MSG0*/"vimg"; color = 0; aspect_ratio = 1; height = 6; width = 16; fixed_width = true; fixed_height = true; is_tab_stop = false; } spacer; : text_part { alignment = centered; label = " Desfasar imagen"; width = 16; } : row { : edit_box_4 { label = "X:"; key = /*MSG0*/"imgoffx"; } : edit_box_4 { label = "Y:"; key = /*MSG0*/"imgoffy"; } } } spacer; : column { fixed_width = true; width = 20; : text_part { alignment = centered; key = /*MSG0*/"winsz"; width = 16; } : image_button { // Virtual window window alignment = centered; key = /*MSG0*/"vwin"; color = 0; aspect_ratio = 1; height = 6; width = 16; fixed_width = true; fixed_height = true; is_tab_stop = false; } spacer; : text_part { alignment = centered; label = " Desfasar pantalla"; width = 16; } : row { : edit_box_4 { label = " X:"; key = /*MSG0*/"winoffx"; } : edit_box_4 { label = "Y:"; key = /*MSG0*/"winoffy"; } } } } spacer_1; : row { : column { fixed_width = true; width = 20; : text_part { alignment = centered; label = " Tama±o de imagen"; width = 16; } : row { : edit_box_4 { label = "X:"; key = /*MSG0*/"imgsizex"; } : edit_box_4 { label = "Y:"; key = /*MSG0*/"imgsizey"; } } } : column { fixed_width = true; width = 20; : text_part { alignment = centered; label = " Tama±o de pantalla"; width = 16; } : row { : concatenation { : text_part { label = " X: "; } : text_part { key = /*MSG0*/"winsizex"; width = 4; } } : concatenation { : text_part { label = "Y: "; } : text_part { key = /*MSG0*/"winsizey"; width = 4; } } } } } } spacer_1; : button { key = /*MSG0*/"rst"; mnemonic = "R"; label = "Reajustar"; fixed_width = true; alignment = centered; } spacer_1_ok_cancel_help_errtile; } //**************************************************************************** // saveimg rendering combined saveimgrc : dialog { label = "Guardar Imagen"; : cluster { : boxed_radio_column { label = "Formato"; key = /*MSG0*/"frmt"; : radio_button { label = "TGA"; key = /*MSG0*/"tga"; mnemonic = "T"; } : radio_button { label = "TIFF"; key = /*MSG0*/"tif"; mnemonic = "F"; } : radio_button { label = "GIF"; key = /*MSG0*/"gif"; mnemonic = "G"; } } : boxed_radio_column { label = "Porci≤n"; key = /*MSG0*/"prtn"; : radio_button { label = "Ventana activa"; key = "A"; mnemonic = "a"; } : radio_button { label = "Area de dibujo"; key = "D"; mnemonic = "b"; } : radio_button { label = "Pantalla completa"; key = "F"; mnemonic = "c"; } } } spacer; : cluster { : button { key = /*MSG0*/"opt"; label = "Opciones..."; mnemonic = "O"; } : button { key = /*MSG0*/"rst"; label = "Reajustar"; mnemonic = "R"; } } spacer; : row { fixed_width = true; alignment = centered; : text_part { label = " Desplazar "; mnemonic = "D"; } : edit_box_4 { label = "X:"; key = /*MSG0*/"winoffx"; } : edit_box_4 { label = " Y:"; key = /*MSG0*/"winoffy"; } } : row { fixed_width = true; alignment = centered; : text_part { label = " Tama±o "; mnemonic = "m"; } : edit_box_4 { label = "X:"; key = /*MSG0*/"winsizex"; } : edit_box_4 { label = " Y:"; key = /*MSG0*/"winsizey"; } } : row { : concatenation { : text_part { label = "Por defecto "; } : text_part { key = /*MSG0*/"winsz"; width = 9; } } fixed_width = true; alignment = centered; } spacer_1_ok_cancel_help_errtile; } //**************************************************************************** // saveimg rendering seperate saveimgrs : dialog { label = "Guardar Imagen"; : cluster { : boxed_radio_column { label = "Formato"; key = /*MSG0*/"frmt"; : radio_button { label = "TGA"; key = /*MSG0*/"tga"; mnemonic = "T"; } : radio_button { label = "TIFF"; key = /*MSG0*/"tif"; mnemonic = "F"; } : radio_button { label = "GIF"; key = /*MSG0*/"gif"; mnemonic = "G"; } } : boxed_column { label = "Porci≤n"; : image_button { // Virtual window window key = /*MSG0*/"vwin"; color = 0; alignment = centered; aspect_ratio = 1; height = 6; width = 16; fixed_width = true; fixed_height = true; } } } spacer; : cluster { : button { key = /*MSG0*/"opt"; label = "Opciones..."; mnemonic = "O"; } : button { key = /*MSG0*/"rst"; label = "Reajustar"; mnemonic = "R"; } } spacer; : row { fixed_width = true; alignment = centered; : text_part { label = " Desplazar "; mnemonic = "D"; } : edit_box_4 { label = "X:"; key = /*MSG0*/"winoffx"; } : edit_box_4 { label = " Y:"; key = /*MSG0*/"winoffy"; } } : row { fixed_width = true; alignment = centered; : text_part { label = " Tama±o "; mnemonic = "m"; } : edit_box_4 { label = "X:"; key = /*MSG0*/"winsizex"; } : edit_box_4 { label = " Y:"; key = /*MSG0*/"winsizey"; } } : row { : concatenation { : text_part { label = "Por defecto "; } : text_part { key = /*MSG0*/"winsz"; width = 9; } } fixed_width = true; alignment = centered; } spacer_1_ok_cancel_help_errtile; } //**************************************************************************** // tga_options : dialog { label = "Opciones TGA"; spacer; : boxed_radio_row { label = "Compresi≤n:"; key = /*MSG0*/"comp"; : radio_button { label = "Ninguna"; mnemonic = "N"; key = /*MSG0*/"none"; // returned as "value" of radio_cluster } : radio_button { label = "RLE"; mnemonic = "R"; key = /*MSG0*/"rle"; } } spacer_1_ok_cancel_help; } //**************************************************************************** // tif_options : dialog { label = "Opciones TIFF"; spacer; : boxed_radio_row { label = "Compresi≤n:"; key = /*MSG0*/"comp"; : radio_button { label = "Ninguna"; mnemonic = "N"; key = /*MSG0*/"none"; // returned as "value" of radio_cluster } : radio_button { label = "PAQUETE"; mnemonic = "P"; key = /*MSG0*/"pack"; } : radio_button { label = "LZW"; mnemonic = "L"; key = /*MSG0*/"lzw"; } } spacer_1_ok_cancel_help; } //****************************************************************************** //****************************************************************************** // Lights Common widgets distant_light_parameters_panel : column { fixed_height = true; : edit_box_8 { label = "Nombre:"; key = /*MSG0*/"name"; mnemonic = "N"; } : row { : edit_box_8 { label = "Intensidad: "; key = /*MSG0*/"inten_t"; edit_width = 8; mnemonic = "I"; } : slider { key = /*MSG0*/"inten_s"; min_value = 0; max_value = 10000; small_increment = 100; big_increment = 1000; } } light_color_panel; } light_color_panel : boxed_column { label = "Color"; rgb_edit_slider; : row { : image_button { key = /*MSG0*/"color"; color = -15; /* background color */ height = 1; aspect_ratio = 1; } : button { label = "Utilizar Rueda de colores..."; key = /*MSG0*/"mod_color"; fixed_width = true; mnemonic = "c"; } } } light_source_panel : column { : boxed_column { label = "Origen de la luz"; : row { : edit_box_4 { label = "X:"; key = /*MSG0*/"x"; mnemonic = "X"; } spacer; : edit_box_4 { label = "Y:"; key = /*MSG0*/"y"; mnemonic = "Y"; } spacer; : edit_box_4 { label = "Z:"; key = /*MSG0*/"z"; mnemonic = "Z"; } } : button { alignment = centered; fixed_width = true; key = /*MSG0*/"mod_points"; label = "Modificar <"; mnemonic = "M"; } } } azimuth_altitude_panel : boxed_row { : column { : edit_box { label = "Acimut:"; key = /*MSG0*/"azimuth_t"; mnemonic = "t"; edit_width = 6; edit_limit = 6; } : image_button { key = /*MSG0*/"azimuth_image"; color = dialog_background; height = 7; aspect_ratio = 1; fixed_height = true; fixed_width = true; alignment = centered; } : slider { key = /*MSG0*/"azimuth_slider"; min_value = -180; max_value = 180; small_increment = 1; big_increment = 10; } } : column { : edit_box { label = "Altitud:"; key = /*MSG0*/"altitude_t"; mnemonic = "l"; edit_width = 6; edit_limit = 6; } : image_button { key = /*MSG0*/"altitude_image"; color = dialog_background; height = 7; aspect_ratio = 1; fixed_height = true; fixed_width = true; alignment = centered; } : slider { key = /*MSG0*/"altitude_slider"; min_value = 0; max_value = 90; small_increment = 1; big_increment = 10; } } } //**************************************************************************** // Tile used by all three light types. ave_basic_lights : column { : edit_box_8 { label = "Nombre de la luz:"; key = /*MSG0*/"name"; mnemonic = "N"; } : edit_box_8 { label = "Intensidad:"; key = /*MSG0*/"inten_t"; mnemonic = "I"; } : slider { key = /*MSG0*/"inten_s"; min_value = 0; max_value = 10000; small_increment = 100; big_increment = 1000; } : boxed_row { label = "Posici≤n"; : button { label = "Modificar <"; key = /*MSG0*/"mod_points"; mnemonic = "M"; } : button { label = "Muestra..."; key = /*MSG0*/"show_points"; mnemonic = "t"; other = "1"; } } light_color_panel; } attenuation_panel : boxed_radio_column { label = "Atenuaci≤n"; key = /*MSG0*/"falloff"; fixed_height = true; : radio_button { label = "Ninguno"; mnemonic = "o"; key = "0"; // returned as "value" of radio_cluster } : radio_button { label = "Inversamente lineal"; mnemonic = "l"; key = "1"; } : radio_button { label = "Inversa del cuadrado"; mnemonic = "e"; key = "2"; } } //**************************************************************************** // Display the Location and Target points of lights. Target should be // disabled when displaying a Point Light. show_points : dialog { label = "Mostrar posici≤n de la luz"; : row { : boxed_row { key = /*MSG0*/"location"; label = "Emplazamiento"; : paragraph { : text_part { label = "X ="; } : text_part { label = "Y ="; } : text_part { label = "Z ="; } } : paragraph { : text_part_12 { key = /*MSG0*/"lfx"; } : text_part_12 { key = /*MSG0*/"lfy"; } : text_part_12 { key = /*MSG0*/"lfz"; } } } : boxed_row { key = /*MSG0*/"target"; // Disabled for Point Lights label = "Destino"; : paragraph { : text_part { label = "X ="; } : text_part { label = "Y ="; } : text_part { label = "Z ="; } } : paragraph { : text_part_12 { key = /*MSG0*/"lax"; } : text_part_12 { key = /*MSG0*/"lay"; } : text_part_12 { key = /*MSG0*/"laz"; } } } } spacer_1_ok_help; } //**************************************************************************** // Main scene dialog ave_scene : dialog { label = "Escenas"; : row { : list_box_8x8 { key = /*MSG0*/"scen"; label = "Escenas:"; mnemonic = "E"; } : column { spacer_0; button_new; button_mod; button_del; spacer_0; } } spacer_1_ok_cancel_help; } //**************************************************************************** // Dialog to modify a scene. ave_scene_mod : dialog { key = /*MSG0*/"dialog"; : edit_box_8 { label = "Nombre de escena:"; key = /*MSG0*/"name"; mnemonic = "N"; } spacer; : row { : column { : text { label = "Vistas"; mnemonic = "V"; } : list_box_8x8 { key = /*MSG0*/"view"; } } : column { : text { label = "Luces"; mnemonic = "L"; } : list_box_8x8 { key = /*MSG0*/"lght"; multiple_select = true; } } } spacer_1_ok_cancel_help_errtile; } //**************************************************************************** //Materials list dialog -- common components material_column : column { : row { : text { label = "Lista de materiales:"; mnemonic = "m"; } } : list_box { height = 12; width = 24; key = /*MSG0*/"materials_list"; multiple_select = true; } : row { : button { key = /*MSG0*/"cleanup"; label = "Limpiar"; mnemonic = "i"; } : button { key = /*MSG0*/"saveList"; label = "Guardar..."; mnemonic = "G"; } } } import_export_delete : column { : button { key = /*MSG0*/"import"; label = "<-Importar"; mnemonic = "I"; is_enabled = false; } : button { key = /*MSG0*/"export"; label = "Exportar->"; mnemonic = "E"; is_enabled = false; } : button { key = /*MSG0*/"delete"; label = "Borrar"; mnemonic = "B"; is_enabled = false; } } library_column : column { : row { : text { label = "Lista de biblioteca:"; mnemonic = "L"; } : text { key = /*MSG0*/"libraryTitle"; width = 12; fixed_width = true; } } : list_box { height = 12; width = 24; key = /*MSG0*/"library_list"; multiple_select = true; } : row { : button { key = /*MSG0*/"openLibrary"; label = "Abrir..."; mnemonic = "A"; } : button { key = /*MSG0*/"saveLibrary"; label = "Guardar..."; mnemonic = "d"; } } } spacer_1_ok_cancel_help_custom : column { spacer_1; ok_cancel_help_custom; } ok_cancel_help_custom : column { :column { : row { fixed_width = true; alignment = centered; ok_button; : spacer { width = 2; } cancel_button_custom; : spacer { width = 2; } help_button; } errtile; } } cancel_button_custom : retirement_button { label = "Cancelar"; key = /*MSG0*/"cancel"; is_cancel = false; // reason for custom } ave_confirm_library_save : dialog { label = "Modificaci≤n en la biblioteca"; initial_focus = "save"; : column { : text { label = "La biblioteca actual de materiales ha sido modificada."; alignment = centered; } : row { : button { label = "Guardar cambios..."; is_default = true; mnemonic = "G"; key = /*MSG0*/"save"; } : button { label = "Descartar cambios"; mnemonic = "D"; key = /*MSG0*/"discard"; } : button { label = "Cancelar comando"; is_cancel = true; mnemonic = "C"; key = /*MSG0*/"cancel"; } } } } //**************************************************************************** //Reconcile Imported Material Names dialog ave_reconcile_import : dialog { label = "Revisi≤n de nombres de materiales importados"; initial_focus = /*MSG0*/"new_name"; spacer_1; : row { children_alignment = top; : column { : boxed_column { fixed_height = true; label = "Opciones"; key = /*MSG0*/"options"; dialog_kind = /*MSG0*/"import"; : toggle { label = "Reescribir materiales existentes"; value = /*MSG0*/"1"; key = /*MSG0*/"overwrite"; mnemonic = "R"; } : toggle { label = "Transferir enlaces"; key = /*MSG0*/"transfer"; value = /*MSG0*/"1"; mnemonic = "f"; } } : boxed_column { fixed_height = true; label = "Nombres de materiales"; key = /*MSG0*/"names"; : edit_box_16 { label = "Antiguo material de la lista:"; key = /*MSG0*/"old_name"; mnemonic = "A"; } : edit_box_16 { label = "Nuevo material de la biblioteca:"; key = /*MSG0*/"new_name"; mnemonic = "N"; } } spacer_0; } } spacer_1_ok_ok_all_cancel_help; } //**************************************************************************** //Reconcile Exported Material Names dialog ave_reconcile_export : dialog { label = "Revisi≤n de nombres de materiales exportados"; initial_focus = /*MSG0*/"new_name"; spacer_1; : row { children_alignment = top; : column { : boxed_column { label = "Opciones"; key = /*MSG0*/"options"; dialog_kind = /*MSG0*/"export"; fixed_height = true; : toggle { label = "Reescribir material existente"; value = /*MSG0*/"1"; key = /*MSG0*/"overwrite"; mnemonic = "R"; } } : boxed_column { label = "Nombres de materiales"; key = /*MSG0*/"names"; fixed_height = true; : edit_box_16 { label = "Antiguo material de la biblioteca:"; key = /*MSG0*/"old_name"; mnemonic = "A"; } : edit_box_16 { label = "Nuevo material de la biblioteca:"; key = /*MSG0*/"new_name"; mnemonic = "N"; } } spacer_0; } } spacer_1_ok_ok_all_cancel_help; } spacer_1_ok_ok_all_cancel_help : column { spacer_1; ok_ok_all_cancel_help; } ok_ok_all_cancel_help : column { : row { fixed_width = true; alignment = centered; ok_button; ok_all_button; : spacer { width = 2; } cancel_button; : spacer { width = 2; } help_button; } } ok_all_button : retirement_button { label = "Aceptar todo"; key = /*MSG0*/"okAll"; mnemonic = "e"; } //**************************************************************************** // Main material dialog -- common components material_list : list_box { key = /*MSG0*/"list"; label = "Materiales:"; mnemonic = "t"; width = 18; } material_attach : column { : button { label = "Enlazar <"; key = /*MSG0*/"entities"; mnemonic = "E"; } : button { label = "Desenlazar < "; key = /*MSG0*/"detach"; mnemonic = "z"; } : button { label = "Desde ACI... "; key = /*MSG0*/"ACI"; mnemonic = "A"; } : button { label = "Por capa... "; key = /*MSG0*/"layer"; mnemonic = "c"; } } material_name : row { : edit_box_16 { label = "Nombre del material:"; key = /*MSG0*/"name"; mnemonic = "m"; fixed_width = true; } } value_edit_slider : boxed_row { : edit_box_4 { label = "Valor:"; key = /*MSG0*/"value_edit"; mnemonic = "o"; } : slider_0_1_fixed { key = /*MSG0*/"value_slider"; } } //****************************************************************************** //****************************************************************************** //** RGB edit sliders rgb_edit_slider : row { : column { : edit_box_4 { label = "Rojo:"; key = /*MSG0*/"red_edit"; mnemonic = "R"; } : edit_box_4 { label = "Verde:"; key = /*MSG0*/"green_edit"; mnemonic = "V"; } : edit_box_4 { label = "Azul:"; key = /*MSG0*/"blue_edit"; mnemonic = "A"; } } : column { : slider_0_1_fixed { key = /*MSG0*/"red_slider"; } : slider_0_1_fixed { key = /*MSG0*/"green_slider"; } : slider_0_1_fixed { key = /*MSG0*/"blue_slider"; } } } display_and_get_color : row { : image_button { key = /*MSG0*/"set_color_image"; color = -15; /* background color */ height = 1; aspect_ratio = 1; } : button { label = "Utilizar Rueda de colores..."; mnemonic = "c"; key = /*MSG0*/"set_color"; fixed_width = true; } } lock : toggle { label = "Bloquear"; key = /*MSG0*/"lock"; mnemonic = "B"; } color_system : popup_list { label = "Sistema de color:"; mnemonic = "o"; key = /*MSG0*/"color_system"; list = "RGB\nHLS"; width = 5; } //**************************************************************************** // Finish Preview tile. finish_preview : boxed_column { children_alignment = centered; : image_button { key = /*MSG0*/"image"; color = graphics_background; height = 8; aspect_ratio = 1; fixed_height = true; fixed_width = true; mnemonic = "P"; // FIXME - Can we ALT to an image??? is_tab_stop = false; } : button { key = /*MSG0*/"object"; label = "Previsualizar"; mnemonic = "v"; } spacer_0; }